Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use SHA-1 to look up D3D11 shaders #4393

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Do not use SHA-1 to look up D3D11 shaders #4393

merged 3 commits into from
Oct 23, 2024

Conversation

doitsujin
Copy link
Owner

@doitsujin doitsujin commented Oct 23, 2024

Saves a few CPU cycles when creating shaders.

There's probably no good reason to change the hash algorithm for D3D9 since shaders there are tiny.

All D3D11 shader keys change, so we should invalidte existing caches.
@doitsujin doitsujin merged commit f9a99e8 into master Oct 23, 2024
8 checks passed
@doitsujin doitsujin deleted the d3d11-no-sha1 branch October 23, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant